package com.linjiu.myapplication;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;

import android.os.Bundle;

import com.linjiu.edit.EditTextWithClear;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        EditTextWithClear editTextWithClear=findViewById(R.id.edit);
        editTextWithClear.setIcEye(ContextCompat.getDrawable(this,R.mipmap.ic_login3));
    }
}